/*------------------------------------------------------------
  Copyright (c) Microsoft Corporation.  All rights reserved.
  Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
 ------------------------------------------------------------*/

@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-table-cell {
    width: 100%;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

.main .top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
}

.main .top-row > a {
    margin-left: 1.5rem;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.sidebar .top-row {
    background-color: rgba(0,0,0,0.4);
}

.sidebar .navbar-brand {
    font-size: 1.1rem;
}

.sidebar .oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type {
    padding-top: 1rem;
}

.nav-item:last-of-type {
    padding-bottom: 1rem;
}

.nav-item a {
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    align-items: center;
    line-height: 3rem;
}

.nav-item a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-link {
    padding: .1rem 1rem;
}

.content {
    padding-top: 1.1rem;
}

table {
    width: 100%;
    table-layout: fixed;
}

.hover-text div {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    background-color: white;
}
.hover-text:hover div {
    overflow: visible;
    z-index: 1000;
    width: auto;
    position: absolute;
    background-color: white;
    padding-right: 20px;
}

th {
    overflow: hidden;
    text-overflow: ellipsis;
}

.width-xsmall {
    width: 5%;
}

.width-small {
    width: 10%;
}

.width-medium {
    width: 15%;
}

.width-medium-large {
    width: 20%;
}

.width-large {
    width: 25%;
}

.width-x-large {
    width: 35%;
}

.reload {
    display: inline-block;
    bottom: 4px;
    left: 320px;
}

.space-wrap {
    white-space: normal;
}

.space-wrap:hover {
    white-space: normal;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.input {
    float: left;
}

.dropdown {
    padding: 10px 8px 10px 0px;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.dropdown .select {
    background-position: 80% center;
}

.dropdown .select select {
    background: transparent;
    line-height: 0.5;
    padding: 0;
    border-radius: 2px;
    width: 50%;
    position: relative;
    z-index: 10;
    font-size: 1em;
}

.margin {
    margin-top: 20px;
    margin-bottom: 20px;
}

.visible {
    visibility: visible;
}

.hidden {
    visibility: hidden;
}

.displayNone {
    display: none;
}

.displayBlock {
    display: block;
}

.displayFlex {
    display: flex;
}

.events {
    max-height: 300px;
    overflow-y: auto;
    white-space: pre-wrap;
    margin-top: 10px;
    display: flex;
    flex-direction: column-reverse;
}

.results {
    margin-top: 80px;
}

.loader-pos {
    margin-top: 20px;
    margin: auto;
    width: 60%;
}

.loader-discovery {
    float: right;
    margin-right: 40px;
}

.label {
    font-weight: bold;
}

.body {
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    padding-bottom: 5px;
}
.body:hover{
    overflow: visible;
    white-space: normal;
    width: auto;
}

.body-action-content {
    font-weight: normal;
    word-wrap: break-word;
    padding-bottom: 5px;
}

ellipsis-space {
    padding-left: 5px;
    padding-right: 5px;
}

.flex {
    display: flex;
    flex-direction: row;
}

.margin-top {
    margin-top: 10px;
}

.margin-right {
    margin-right: 10px;
}

.tsi_link {
    margin-right: 1.5rem;
}

.closebtn {
    font-weight: bold;
    color: black;
}

.closediv {
    float: right;
    font-size: 12px;
}

.spinnermargin {
    margin-top: 20px;
    margin-left: 16px;
}

a.adhocmargin {
    margin-top: 16px;
    margin-left: 24px;
}

.flex {
    display: flex;
}

.activated-true {
    font-weight: bold;
}

.enabled-true {
    color: black;
}

.enabled-false {
    color: gray;
}

.value-wide {
    width: 300px;
}

.value-scroll {
    overflow: auto;
    max-height: 300px;
    max-width: 100%;
    white-space: normal;
}

.value-scroll:hover {
    overflow: auto;
    max-height: 300px;
    max-width: 100%;
    white-space: normal;
    position: relative;
    background-color: white;
}

.subtitle {
    color: #6D6C6C;
    font-weight: bold;
    white-space: pre-wrap;
    margin-bottom: 15px;
}

.error-message {
    background: #ffffe0;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,.2);
    left: 0;
    padding: .6rem 1.25rem .7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.section-toggle-button {
    text-align: left;
    display: block;
    width: 100%;
    color: black;
    flex: auto;
    background: none;
    border: 0;
    padding: 2px;
}

.border-bottom {
    margin-bottom: 50px;
}

@media (max-width: 767.98px) {
    .main .top-row {
        display: none;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        /*position: sticky;*/
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

@media screen and (max-width: 1600px) {
    .td-fixed {
        width: 500px;
    }
}

@media screen and (max-width: 1280px) {
    .td-fixed {
        width: 300px;
    }
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}